Other Functions
The following functions are available globally.
-
Creates a new
MGLSphericalPositionfrom the given radial, azimuthal, polar.Declaration
Objective-C
static inline MGLSphericalPosition MGLSphericalPositionMake(CGFloat radial, CLLocationDirection azimuthal, CLLocationDirection polar)Swift
func MGLSphericalPositionMake(_ radial: CGFloat, _ azimuthal: CLLocationDirection, _ polar: CLLocationDirection) -> MGLSphericalPositionParameters
radialThe radial coordinate.
azimuthalThe azimuthal angle.
polarThe polar angle.
Return Value
Returns a
MGLSphericalPositionstruct containing the position attributes.
-
Creates a new
MGLTransitionfrom the given duration and delay.Declaration
Objective-C
static inline MGLTransition MGLTransitionMake(NSTimeInterval duration, NSTimeInterval delay)Swift
func MGLTransitionMake(_ duration: TimeInterval, _ delay: TimeInterval) -> MGLTransitionParameters
durationThe amount of time the animation should take, not including the delay.
delayThe amount of time in seconds to wait before beginning the animation.
Return Value
Returns a
MGLTransitionstruct containing the transition attributes.
Install in Dash
Other Functions Reference